package com.cskaoyan.service.promotion_service;

import com.cskaoyan.bean.Ad;
import com.cskaoyan.bean.Storage;
import com.cskaoyan.bean.params.BaseParam;
import com.cskaoyan.bean.vo.promotion_vo.AdCreateVO;
import com.cskaoyan.bean.vo.promotion_vo.AdUpdateVO;
import com.cskaoyan.bean.vo.promotion_vo.AdVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @description：
 * @author: 曹旭
 * @date: 2022/5/7 13:51
 */
public interface AdService {
    AdVO list(BaseParam baseParam, String name, String content);

    AdCreateVO create(Ad ad);

    void delete(Ad ad);

    AdUpdateVO updateAD(Ad ad);

   // Storage adImgStorage(MultipartFile file);
}
